﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Member/MerchantMaster.master" AutoEventWireup="true"
    CodeFile="Shop_News.aspx.cs" Inherits="Member_Shop_News" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="bz_keen right">
        <div class="grxixn b">
            <div class="xixzhil">
                <h2 class="xit">
                    新闻管理/发布</h2>
            </div>
            <div class="blank">
            </div>
            <div class="zushou">
                <h6 class="autohei">
                    <asp:DropDownList ID="ddlType" runat="server" Width="80px" CssClass="left" OnSelectedIndexChanged="ddlType_SelectedIndexChanged"
                        AutoPostBack="true">
                        <asp:ListItem Text="全部" Value="0" />
                        <asp:ListItem Text="行业新闻" Value="1" />
                    </asp:DropDownList>
                    <label class="left">
                        <input id="chkAll" onclick="SelectAllCheckboxes(this,'New_Select');" runat="server"
                            type="checkbox" class="inpt5" />
                        全选</label>
                    <a href="#">
                        <asp:ImageButton ID="ImageButton1" runat="server" OnClientClick="return window.confirm('确认要删除吗？')"
                            ImageUrl="~/Images/shanchu2.jpg" CommandName="deleteNews" OnCommand="Button_Command"
                            CommandArgument='<%#Eval("newsID") %>' />
                        <a href="Shop_NewsAdd.aspx">
                            <img src="../images/zengjia.jpg" /></a>
                </h6>
                <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemDataBound">
                    <HeaderTemplate>
                        <ul>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <li><span class="right"><a href="Shop_NewsAdd.aspx?newsID=<%# Eval("newsID") %>">
                            <img src="../images/xiugai2.jpg" /></a></span> <span class="left">
                                <input type="checkbox" name="New_Select" id="Product_Select" value="<%# Eval("newsID") %>" /></span>&nbsp;<%# Eval("newsTitle") %></li>
                    </ItemTemplate>
                    <FooterTemplate>
                        </ul></FooterTemplate>
                </asp:Repeater>
            </div>
            <div class="blank">
            </div>
            <div class="cp_nete">
                <ul>
                    <li><a href="#">
                        <asp:LinkButton ID="lbtnFirstPage" runat="server" OnClick="lbtnFirstPage_Click">页首</asp:LinkButton>
                    </a></li>
                    <li><a href="#">
                        <asp:LinkButton ID="lbtnpritPage" runat="server" OnClick="lbtnpritPage_Click">上一页</asp:LinkButton>
                    </a></li>
                    <li><a href="#">
                        <asp:LinkButton ID="lbtnNextPage" runat="server" OnClick="lbtnNextPage_Click">下一页</asp:LinkButton>
                    </a></li>
                    <li><a href="#">
                        <asp:LinkButton ID="lbtnDownPage" runat="server" OnClick="lbtnDownPage_Click">页尾</asp:LinkButton><br />
                    </a></li>
                    <li><a href="#">第<asp:Label ID="labPage" runat="server" Text="Label"></asp:Label>页/共<asp:Label
                        ID="LabCountPage" runat="server" Text="Label"></asp:Label>页</a></li>
                </ul>
            </div>
        </div>
    </div>
    <script language="javascript" type="text/javascript">
        $().ready(function () {
            $("#lm5,#lm51").addClass("red");
        });
    </script>
</asp:Content>
